﻿using Dapper.Extensions;
using Microsoft.AspNetCore.Mvc;

namespace orm.dapper.api.Controllers
{
    /// <summary>
    /// Dapper 基础控制器
    /// </summary>
    [Route("api/[controller]/[action]")]
    [ApiController]
    public class DapperBaseController(IDapper dapper) : ControllerBase
    {
        public IDapper Dapper { get; } = dapper;
    }
}
